<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <link href="../stylesheets/style.css" rel="stylesheet" type="text/css" />
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>M&eacute;tricas: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
</head>
<body>
<%= header %>

<br/>
<h2>M&eacute;tricas - Promedio de Vida de Incidentes No Cerrados</h2>
<br/>
<p>
	<%= form_tag :action => "promedioDeVidaDeIncidentesNoCerrados" %>
		<label for="productos">Elija el Producto</label>
		<%= select 'producto', 'id',
			Producto.find(:all).collect{|p|
				[p.nombre,p.id]}
		%>
		<%= submit_tag "Ver" %>
	<%= end_form_tag %>
</p>
<br/>

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"  WIDTH="799"  HEIGHT="300"  id="charts"  ALIGN=""> 
	<PARAM NAME=movie VALUE="/charts.swf?library_path=/charts_library&xml_source=<%=url_for :action=>'promedioDeVidaDeIncidentesNoCerradosReport',:only_path=>true%>"> 
	<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#666666> 
	<EMBED src="/charts.swf?library_path=/charts_library&xml_source=<%=url_for :action=>'promedioDeVidaDeIncidentesNoCerradosReport',:only_path=>true%>"  quality=high bgcolor=#666666  WIDTH="799"  HEIGHT="300"  NAME="charts"  ALIGN=""  swLiveConnect="true"  TYPE="application/x-shockwave-flash"  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> 
</body>
</html>
